package org.shoy.web.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * Error
 * Created by shoy on 2016/3/31.
 */
@Controller
@RequestMapping("/error")
public class ErrorController {

    @RequestMapping("404")
    public String error404() {
        return "error/404";
    }

    @RequestMapping("500")
    public String error500() {
        return "error/500";
    }
}
